package edu.sctu.practice.class01.nieyu.test.test06;

/**
 * Created by Administrator on 2015/10/15.
 */
public class Car extends Vehicles {

    int seats;

    public Car(String brand, String color, int seats) {

        super(brand, color);
        this.seats = seats;

    }

    public void showCar() {

        super.showInfo();
        System.out.println("" + seats);

    }
}
